<% @page_title = "Update book category informations" %>
<%= stylesheet_link_tag "admin/form", :media => "all" %>
<div class="edit-book-category">
	<h1>Update book category informations</h1>
	<%= form_for :book_category, 
	:url => {:action => "update", :id => @book_category.id},
	:method => "put" do |f| %>
		<% if @book_category.errors.any? %>
			<ul>
			<% @book_category.errors.full_messages.each do |msg| %>
				<li>*&nbsp;<%= msg %></li>
			<% end %>
			</ul>
		<% end %><!-- End if -->
		<p>
			<label>Book Category Name</label>
			<%= f.text_field :category_name %>
		</p>
		<p class='action'>
			<label>&nbsp;</label>
			<%= f.submit :Save %><%= link_to "Back", :controller => "admin/book_cate", :action => "index" %>
		</p>
	<% end %><!-- End form -->
</div><!-- End .list-faculties -->
